package com.ctgu.dao;

import com.ctgu.entity.Client;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ClientMapper {

    Integer addClient(@Param("client") Client client);

    Integer deleteClientById(@Param("id") Integer id);

    Integer updateClient(@Param("client") Client client);

    List<Client> getAllClientList();

    Client getClient(@Param("id") Integer id);

    List<Client> queryClientById(@Param("name") String name);

}
